package com.softeem.ossmusic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName music_list
 */
@Schema(description = "歌单")
@TableName(value ="music_list")
@Data
public class MusicList {
    /**
     * 歌单id
     */
    @Schema(description = "歌单id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 封面图
     */
    @Schema(description = "封面图")
    private String pic;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer uid;

    /**
     * 状态(0-下架,1-上架)
     */
    @Schema(description = "状态(0-下架,1-上架)")
    private Integer status;
}